/**
 * Created by xstnet on 2018/4/13.
 */
import React from 'react';
import PropTypes from 'prop-types'

const DeleteTodo = ({ onClick }) => (
		<span
			onClick={onClick}
		>
			delete
		</span>
)

DeleteTodo.propTypes = {
	onClick: PropTypes.func.isRequired,
}

export default DeleteTodo;
